package com.xzl.shop.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
public class Cart {
    private Integer id;
    private Integer userId;
    private Integer gId;
    private String gName;
    private BigDecimal gPrice;
    private Integer count;
    private BigDecimal money;
    public Cart(String id){
        this.id = Integer.parseInt(id);
    }
}
